﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jermaine.Cache
{
    /// <summary>
    /// CacheEvent
    /// </summary>
    public class CacheItemEventArgs : System.EventArgs
    {
        /// <summary>
        /// id
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        public DateTime Time { get; set; }

        /// <summary>
        /// 新项
        /// </summary>
        public TimedObject NewItem { get; set; }

        /// <summary>
        /// 旧项
        /// </summary>
        public TimedObject OldItem { get; set; }

        /// <summary>
        /// 总个数
        /// </summary>
        public int ItemCount { get; set; }
    }
}
